<div class="head">
    <div class="path left"><span class="fb">首页</span><a href="###">附件管理</a></div>
</div>
<div class="m5">
<table class="table table-bordered table-striped" width="100%">
<thead>
<tr>
    <th class="fn-tac w20">#</th><th class="fn-tal">名称</th><th class="fn-tac w120">时间</th><th class="fn-tac w100">管理操作</th>
</tr>
</thead>
<tbody>
{loop $info $rs}
<tr>
    <td class="fn-ac">{$rs['id']}</td>
    <td class="fn-tal"><a title="预览图片" href="{$rs['path']}{$rs['name']}" target="_blank">{$rs['name']}</a></td>
    <td class="fn-tac">{date('Y-m-d H:i:s',$rs['uptime'])}</td>
    <td class="fn-tac"><a href="###" title="删除" class="del pt" url="{url('files/index',array(id=>$rs['id'],act=>del))}">删除</a></td>
</tr>
 {/loop}
</tbody>
</table>
</div>
<div id="page" class="right m5">{$page}</div>
<script language="javascript">
Do('base','Dialog',function(){
    $('.del').click(function(){
        $(this).cpDelete();
    });
})
</script>